package com.qqs.distributed.lock;

import com.qqs.distributed.advice.CacheAttribute;
import com.qqs.distributed.advice.CacheAttributeWrapper;
import reactor.util.annotation.NonNull;

public abstract class AbstractLockHandler implements LockHandler {
    protected CacheAttributeWrapper attributeWrapper;
    protected CacheAttribute attribute;

    protected AbstractLockHandler(
            CacheAttributeWrapper attributeWrapper) {
        this.attributeWrapper = attributeWrapper;
        this.attribute = attributeWrapper.getAttribute();
    }
}
